package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.config.ResponseVO;
import com.example.pojo.EnrollInfo;
import com.example.pojo.FamilyInfo;
import com.example.pojo.StuInfo;
import com.example.pojo.dto.FamilyStuDTO;
import com.example.pojo.dto.UserParentInfoDTO;
import org.springframework.http.ResponseEntity;

import java.util.List;

public interface FamilyInfoService {
    // 新增或修改家庭信息
    String addOrUpdateFamilyInfo(FamilyInfo familyInfo);
    // 根据儿童id查询家庭信息
    ResponseEntity<ResponseVO<List<FamilyInfo>>> selectFamilyByStuId(Long childId);

    // 根据姓名获取家庭信息
    UserParentInfoDTO selectFamilyByStuName(String stuName);
}
